<!DOCTYPE html>
<!--suppress ThymeleafVariablesResolveInspection -->
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head >
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{/local/css/css.css}" rel="stylesheet">
    <link  th:href="@{/local/css/page.css}"  rel="stylesheet">
</head>
<body>
<div id="top" th:include="head.html::top"></div>
<div id="middle">
    <div id="left" th:include="left.html::left"></div>
    <div id="right">

        <form action="/gototypesAdd">
            <input type="submit" value="添加类别">
        </form>

<!--        <div id="msg" th:text="${msg}"></div>-->
        <table>
            <tr>
                <th>商品ID</th>
                <th>商品名称</th>

            </tr>
            <tr th:each="goods:${goodstypesList}">
                <td  style="text-align: center;" th:text="${goods.getTid()}"></td>
                <td  style="text-align: center;" th:text="${goods.getTname()}"></td>

<!--                <td>-->
<!--                    <span th:if="${goods.getGdhot()} eq 1">是</span>-->
<!--                    <span th:unless="${goods.getGdhot()} eq 1">否</span>-->
<!--                </td>-->
                <td>
                    <a th:href="@{/delGoodsType/} + ${goods.getTid()}">删除</a>
<!--                    <a th:href="@{/admin/goods/} + ${goods.getGdid()}">编辑</a>-->

                </td>
            </tr>

        </table>

<!--        <div th:include="page.html::myPage(${goodsListPage},goods)"></div>-->



    </div>
</div>
<div id="bottom" th:include="bottom.html::bottom"></div>

</body>
</html>